/**
 * Copyright 2007-2008. Chongqing First Information & Network Co., Ltd. All
 * rights reserved. <a>http://www.cqfirst.com.cn</a>
 */
package com.cqcis.uip.base.framework.core;

/**
 * 服务，可以起停
 * 
 * @author huangmy
 * @date   2008-1-10
 */
public interface Service {	    
    /**
     * 启动
     */
    public void start(RegisteredServiceContext serviceContext) throws Exception;
    
    /**
     * 停止
     */
    public void stop(RegisteredServiceContext serviceContext) throws Exception;
}
